package com.jz;

import com.netflix.loadbalancer.IRule;
import com.netflix.loadbalancer.RandomRule;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * Created by Hasee on 2022-03-07.
 */
@Component
public class Config {
    @Bean
    public IRule myLunxu(){
        return new RandomRule();
    }
}
